package cn.legend.travel.admin.user.dao.persist.mapper;

import cn.legend.travel.admin.user.pojo.entity.User;
import cn.legend.travel.admin.user.pojo.vo.UserCheckVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapper extends BaseMapper<User> {

    List<UserCheckVO> getAllUsers();

    List<UserCheckVO> getUsersForCheck();

    UserCheckVO getByUsername(String username);

    UserCheckVO getByPhone(String phone);

}
